package com.hy.main.handler;

import org.springframework.stereotype.Component;

@Component
/**
 * @Author yang DongYong
 * @Date 2023/3/2 - 03 - 02 - 20:47
 * @Description: com.hy.main.handler
 * @version: 1.0
 */
public class WxPayHandle extends AbstractHandle {

    @Override
    public void pay02(Integer payType) {
        System.out.println("微信调用了支付");
    }

    @Override
    public void afterPropertiesSet() throws Exception {
            StrategyFactory.register(1, this);

    }
}
